
  <div class="div" ng-controller="homeCtrl">

<!--     <div class="bottom-action">
<button type="button" class="btn btn-lg btn-danger" ng-click="editHostModal()">设置</button>

<button type="button" class="btn btn-lg btn-danger" ng-click="selHostModal()">切换</button>

    </div> -->

    <div class="panels" ng-controller="panelsCtrl">
      <div class="panel panel-xk animated fadeInUp" style="animation-delay:{{db.delay}}s;" ng-class="{1: 'focus', 3: 'out', 2: 'foout'}[db.focus]" ng-repeat="db in panel" ng-if="db.open">
        <div class="box" ng-if="db.type == 0">
          <h1>{{db.text}}</h1>
        </div>
        <div class="box" ng-if="db.type == 1">
            <p class="p_title">{{db.content.title}}<span class="s_description">{{db.content.description}}</span></p>

            <div class="img-box" style="background-image:url({{db.content.picUrl}})">
              <!-- <img ng-src="" alt=""> -->
              <span class="s_time">《{{db.content.description}}》 - {{db.content.ctime | date : 'MM-dd h:mm'}}</span>
            </div>
            <div class="btn-group">
 <a class="btn-like" href="" new-id="{{db.content.id}}" ng-click="likePost()">
 <div id="star">
   <svg  viewBox="0 0 51 50" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">
    <defs></defs>
    <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">
        <path d="M19.1599493,39.1271248 C17.4576451,40.0218018 16.7108089,39.4773077 17.0355266,37.5846452 L18.2375322,30.5785868 L18.3264535,30.0602965 L17.9498333,29.6932963 L12.8580559,24.7315783 C11.4811669,23.3898591 11.7682637,22.5119148 13.669534,22.2357297 L20.7061974,21.2135596 L21.226418,21.1379905 L21.459124,20.6666223 L24.606016,14.2922998 C25.457074,12.5684024 26.381668,12.5700646 27.231905,14.2922998 L30.378797,20.6666223 L30.611503,21.1379905 L31.131724,21.2135596 L38.168387,22.2357297 C40.071492,22.5121813 40.355428,23.3911516 38.979865,24.7315783 L33.888088,29.6932963 L33.511468,30.0602965 L33.600389,30.5785868 L34.802395,37.5846452 C35.127425,39.4791331 34.378634,40.020939 32.677972,39.1271248 L26.384189,35.8193128 L25.918961,35.5748037 L25.453732,35.8193128 L19.1599493,39.1271248 L19.1599493,39.1271248 Z" id="starme"  sketch:type="MSShapeGroup"></path>
        <path d="M11.8549664,10.3594235 C12.3017741,10.0347987 12.9263186,10.1327118 13.2503254,10.5786688 L17.3677086,16.2457607 C17.6915364,16.6914713 17.5949564,17.3136884 17.1450336,17.6405765 C16.6982259,17.9652013 16.0736814,17.8672882 15.7496746,17.4213312 L11.6322914,11.7542393 C11.3084636,11.3085287 11.4050436,10.6863116 11.8549664,10.3594235 Z M5.32767265,35.6857297 C5.12078315,35.1736602 5.36687878,34.5913546 5.87797335,34.384859 L12.3728135,31.7607733 C12.8836257,31.5543918 13.4639954,31.7986308 13.6723273,32.3142703 C13.8792169,32.8263398 13.6331212,33.4086454 13.1220266,33.615141 L6.62718654,36.2392267 C6.11637435,36.4456082 5.53600456,36.2013692 5.32767265,35.6857297 Z M25.5785358,40.5006854 C26.1307365,40.5103241 26.5705943,40.9643812 26.560974,41.5155305 L26.4387214,48.5193743 C26.4291064,49.0702191 25.9775146,49.5090205 25.4214642,49.4993146 C24.8692635,49.4896759 24.4294057,49.0356188 24.439026,48.4844695 L24.5612786,41.4806257 C24.5708936,40.9297809 25.0224854,40.4909795 25.5785358,40.5006854 Z M38.4554268,32.0273298 C38.6975325,31.5309396 39.29494,31.3241858 39.7903851,31.5658306 L46.0863572,34.6365813 C46.5815286,34.8780926 46.7883668,35.4728192 46.5445732,35.9726702 C46.3024675,36.4690604 45.70506,36.6758142 45.2096149,36.4341694 L38.9136428,33.3634187 C38.4184714,33.1219074 38.2116332,32.5271808 38.4554268,32.0273298 Z M32.6680582,17.4971568 C32.2388524,17.1495928 32.1717851,16.5209873 32.5186875,16.0925986 L36.9270206,10.6487606 C37.2737313,10.2206086 37.8997436,10.152856 38.3319418,10.5028432 C38.7611476,10.8504072 38.8282149,11.4790127 38.4813125,11.9074014 L34.0729794,17.3512394 C33.7262687,17.7793914 33.1002564,17.847144 32.6680582,17.4971568 Z" id="inner_glow" fill="#F7931E" sketch:type="MSShapeGroup"></path>
        <path d="M0.357728159,18.2417099 C0.573523003,17.7333291 1.1592911,17.4955928 1.66670398,17.7109768 L8.11475828,20.4480135 C8.62189082,20.6632785 8.85957117,21.2463649 8.64227184,21.7582901 C8.426477,22.2666709 7.8407089,22.5044072 7.33329602,22.2890232 L0.885241719,19.5519865 C0.378109181,19.3367215 0.140428834,18.7536351 0.357728159,18.2417099 Z M25.5,0.5 C26.0522847,0.5 26.5,0.946311399 26.5,1.49754465 L26.5,8.50245535 C26.5,9.05338405 26.0561352,9.5 25.5,9.5 C24.9477153,9.5 24.5,9.0536886 24.5,8.50245535 L24.5,1.49754465 C24.5,0.946615951 24.9438648,0.5 25.5,0.5 Z M9.91890604,49.6861842 C9.46650085,49.3694067 9.35574769,48.7470109 9.6719221,48.295467 L13.6897738,42.5573801 C14.0057735,42.1060857 14.6255347,41.9948298 15.081094,42.3138158 C15.5334991,42.6305933 15.6442523,43.2529891 15.3280779,43.704533 L11.3102262,49.4426199 C10.9942265,49.8939143 10.3744653,50.0051702 9.91890604,49.6861842 Z M35.7295234,42.4539516 C36.1647297,42.1139312 36.7923108,42.1899883 37.1316839,42.624366 L41.4443376,48.144311 C41.7835232,48.5784487 41.7087171,49.2036574 41.2704766,49.5460484 C40.8352703,49.8860688 40.2076892,49.8100117 39.8683161,49.375634 L35.5556624,43.855689 C35.2164768,43.4215513 35.2912829,42.7963426 35.7295234,42.4539516 Z M42.5642113,21.1816433 C42.2964584,20.6986042 42.4697544,20.0906475 42.9518739,19.8234043 L49.0785069,16.4273562 C49.5603599,16.1602607 50.166169,16.3319499 50.4357887,16.8183567 C50.7035416,17.3013958 50.5302456,17.9093525 50.0481261,18.1765957 L43.9214931,21.5726438 C43.4396401,21.8397393 42.833831,21.6680501 42.5642113,21.1816433 Z" id="outer_glow" fill="#F7931E" sketch:type="MSShapeGroup"></path>
    </g>
</svg>
</div>



             </a>
            </div>

        </div>
      </div>
    </div>
    <div class="bg">
      <div class="bg-box" ng-switch="bgName">
        <div class="animate-switch animate-switch-container bg-snow" ng-switch-when="snow"></div>
        <div class="animate-switch animate-switch-container bg-float" ng-switch-when="float">
          <div class="back"></div>
          <div class="front"></div>
        </div>
      </div>
    </div>
  </div>
  <div ng-controller="backdropCtrl">
    {{$scope.backdrop}}
    <div class="xk-backdrop" ng-class="{true:'in', false: 'as'}[backdrop.start]" ng-if="backdrop.open">
    </div>
  </div>
